﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CrystalDecisions.CrystalReports.Engine;

namespace HelperPrototype.Reports
{
    public partial class ReportViewerForm : Form
    {
        private ReportClass r;

        public ReportViewerForm(ReportClass report)
        {
            InitializeComponent();
            r = report;
        }

        private void ReportViewerForm_Load(object sender, EventArgs e)
        {
            crystalReportViewer1.ReportSource = r;
        }
    }
}
